package com.hibase.core.rule.constant;

/**
 * 场景枚举类
 */
public enum RuleRangeTypeEnum {
    LEFT_OR_RIGHT("LEFT_OR_RIGHT","左开右合"),
    LEFT_OR_RIGHT_AWAY("LEFT_OR_RIGHT_AWAY","左合右开"),
    //TODO 查找项从100开始
    RANGE_SORT_LEFT("200","范围查询字段排序起始值（左边）"),
    RANGE_SORT_RIGHT("201","范围查询字段排序起始值（右边）"),
    PRIORITY_SORT("202","优先级字段排序起始值"),
    //TODO 值项从300开始
    REMARK("999","备注字段排序起始值");

    private String key;
    private String value;

    RuleRangeTypeEnum(String key, String value){

        this.value = value;
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
